<!DOCTYPE html>
<html lang="zh-CN">

<head>
	<title>DelphiWebMVC</title>
	<#include file="/include.html" /><!--引用了element等类库-->
</head>
<style>a{ text-decoration:none}</style>
<div id="app" style="text-align: center;">
	<div style="margin-top: 10px;"></div>
	<img src="/image/logo.jpg" style="width: 250px;height:250px;"/>
	<h1>DelphiWebMVC</h1>
	<h1>欢迎大家使用</h1>
	<h2><a href="https://element.faas.ele.me/#/zh-CN/component/installation">ElementUI官网</a></h2>
    <div style="margin-top: 10px;"></div>

  <iframe  id="myframe" src="test.html" ></iframe>
</div>
<script>
new Vue({
	el:"#app",
	created(){
		document.title=this.title

		
	},
	mounted(){
		 window.addEventListener('message', this.handleMessage,true);
	},
	data:{
		title:"DelphiWebMVC"
	},
	methods:{
		save:function(){
			this.$http.get("getdata").then(function(ret){
				console.log(ret);
				this.$message({message:ret.body});
			});
			
		},

		handleMessage (event) {
			alert("sdfadf")
		},
	}
	
});
</script>

</html>